update some interfaces.

Signed-off-by: ithinuel <ithinuel@gmail.com>