update permalinks files