Update t1 from data only if data is not empty