remove list, insert table