fix password change issues
function update for settign page