update Query component class