use query() for basic index lookup
update docs