this will regenerate slugs if slug is not present on save