update status code for password change