update restfulservice