updates to saving and modified data