Updated project query