Update final file