updating change password function

not working as of now