updated to version 8 of hapi