populate teams automatically

populate teams automatically