Table updating

On load, the table is generated.
On upload, the table is deleted and generated.