update api with hop count