update file edit