updated rdoc to md