update and remove some dependencies