sync up comment and ref attributes with prose in the draft