test update a file