update cm.mk for the logical file