edit comment and format