add replaceReferenceMessage to support runtime newest message replace

this action didn't trigger any relationship related change (such as
VoteOfMe update VoteOfTopic),just replace variable