Add hooks for updating the automation as it is edited...