- moved decorator into new file
- completed PUT /api/agents
minor fix