update markdown parsing