simplified update method in projects controller