insert script updated