upgrade versions and remove unused dependencies