updates to file