update the app to work with ruby-driver 1.0