add initial hook for history management
update operations archetype with latest api