insert teams to database