Update swarm.c