before inserting new data truncate the old table