update API public