updated the CAM and DM