Updated query files and controller js.