Investigate versioning of documents. This probably require to - add a table/model to store the history - add a UI to view / revert to a specific revision