add some more apis

Signed-off-by: huynh duong quang <duongqhuynh@gmail.com>