Updating somequery SQLQuery