Updates permalinks