update drill query