database change: subject as gradewise modules and changes according to that on analytics and examinations