update dependencies and fix imports