update slug helper