Update compile script of yaml