merge api v1 and v2
add device PO