Insert sqls are updated
Updated for school year logic