An application for an extension of your residence permit should be submitted online.
You will find the electronic form under the section Applications and forms on the Migration Board's website (external link). You must apply for an extension before your current permit expires. Below you can find a presentation with detailed instructions on how to extend your residence permit.
Extension of residence permit for studies. Presentation April 2016 (pdf).