updates in the cpp definition