Update COM.m