Added support for writing completely to the storage with the redo and undo option