read in update to write