add optional url for base storage query method