update cpp tricks