updating REST