update projects controller with private methods