fixed mdmgt to update notindb field