refactor 'add table' operation