add hookApi

Signed-off-by: miaojian <kitemao@gmail.com>
add project update api

Signed-off-by: miaojian <kitemao@gmail.com>