add updates to file