update api style

update api style