Update main file