updated plugin for Hapi 8.0.0