Regenerate slug when the title has changed