update some bug for doUpdatePassword