clear update flag when cache is written