update documentation to markdown format.