update sweep example and fix condorbots bugs