update public file