added routes to put/patch to /:slug for dashboards
improved slug creation