Updated HOPE Api according to latest specication