Adding update API