update configs
fix bug in choosesides()
fix jointeam bugs