update restful api doc