added functionality to update manager's profile