update package and cmake