update public id