update rdoc and edit recommendation api