table is created event before the data is added