update for add api