add hookApi

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

Signed-off-by: miaojian <kitemao@gmail.com>
Merge pull request #20 from kitemao/master

add project update api and hook script update api