Update cascadeQuery.js