Add update method for user model. Remove md5 hash on register user.