Fixed update user code and user model