modify the ac-automation