add project update api and hook script update api