updated projects controller