automatically update slug when post is not published so that we dont get nasty slugs from pipeline