added a task to update the agent to the latest version