update project struct