updates the saved files