Update story slug when the story is published

Closes #596