docstring for pelican.upgrade