update Insert Function in cmt_update