update project.mas function