update user routine