finish upadate agent page and functions
delete updateagent.ejs page