update permalink