added logic to update both active and stanby cmc