added ability to change msg id of entry