Can the param of AHRS_trim_Z be adjusted in the air?

my plane fly FBWA little off to the left side. so I tried to increase the AHRS_trim_Z while the plane is in the air. but it looks does work. Can anyone tell me is it right to do so? or it need to reboot or something else other than this param to be adjusted.

The flight control board is yaw 180 mounted.(AHRS_ORIENTATION=4)