update update_cmakelists tool