update add() method with wrapper