Bump dependencies to 4.0