add delete latest information function