Update createAllAgent call