fixing bug in updating project