adding metadata to all agents