update dependencies
fix imports and upgrade versions