Fixed issue with updating table. Don't deallocate it...