Updating main file