Save assigned teams to DB