Write message/group ID to UCL table.