update cmake scripts