update permalink structure