updated controllers and model for team