upgrade and clean after install