update to vertx 2.x API