Refactoring: add status to csv file and change simplify logic of update main document