saving the last update