add an update method to update the pheromone trails