improve frp app API