secure data by the update and remove