test main cpp update