updating sample level file