There are some user reports that an update from cm12.1 to cm13 seems to work.
But I would strongly recommend a clean install in such an case (factory reset +format /system +flash rom +flash gapps for cm13) and then reinstall your apps
But I would strongly recommend a clean install in such an case (factory reset +format /system +flash rom +flash gapps for cm13) and then reinstall your apps