Redirecting from /api/update-agent/ to /api/agents/update-agent/