Added update project function