upgrade md file