update the compile script