updated paths program cpp