Updated DBS example to fit with new API.

This will exist in 5.6.8.