flush changes after update
update the updated time