rename the agent