Update the rest client.