update cmp script