update markdown editor