P2 UI api change