update rest engine