update program file and controller