update mainproject