update data
delete unused