Update user entity