update rest doc