clean up and upgrade deps