readdata.m update