update new query