working on #1

* changing validation rules in Agent
* adding basic update process in AgentController
* adding first test case for basic update in the AgentControllerTest
* adding a basic view for basic update based on refactored fragment
agent.basic