update dependencies and fix failing tests