fix args of updateAddButton