updating content of md