fix bug that save raw password in UpdateDetail instead of hash password