update rest docs