Creating events
Changing tables active_team