Updating pelican make generate and serve function