update public api