added the ttl prototype for agent update