update rest examples