Updates program file