Added support for updating user.