add and update API