minimal implementation of Agent#update_tags