Sets the slug with the name