readdata
update data
messed up