update Query.derived