Add a dist upgrade and autoremove