update data in user and team view