cuba: 4.0

Update to latest version