update public dist template