added support to update user