update compile script