Update permalink type