ClientAgent: Add lookup_object helper function and change update handler to rely on it.