update all permalinks (this was the big problem)