add revisions on save