added api to update delivery