fixed order of commands to switch to the auto update mechanism