up date item_data and remove old unused tables