update rest api slide