update datasets, but read/write error lock when reading data while updating