update API entry