update the id of a message to make it unique within page