updates file with markups