Fixed success function on addTable