refactored update table method
Removed build table. Now only two concepts exists: update and rebuild