Maha to modernise madrasas