fix updating encrypted password