Update main source file