updates the sample file