Registration Offices to be modernized, says CM