allow altering query thru closure in options array