update users register and hash pass