update some RESTful API