update commit for "add" method