updated existing examples to use current hapi version