changed to correct url: database rather than sql