modify freeagent page and add a updateagent page