hapi api change