You can switch current holdings from the HDFC Midcap fund to the ELSS fund. The amount switched will be counted towards Section 80C. Old SIP into midcap fund will continue unless you stop it.
When switching do ensure that you switch to a Direct Plan Mutual Fund in the ELSS category. Else you lose significantly to commissions upto 40% of the portfolio in the long run.