Update file helper