updated create to set msgID