update restful