I have made a mixture of the metal oxide sample with water and nafion in 2:1 ratio and then deposited it on the electrode and let it dry in oven for about 2 minutes. But, after a few minutes while performing the photo electrochemical measurement, the deposited mixture fall off from the electrode surface.