move autoremove to final update stage