get the delete icon update automatically