Add on_success/on_errors blocks to create/update commands