updating REST service