Update a sample file.