db change + query change