add depency api