update dm_status and dm_validity