update minimal cpp