update slug for each page