changing delete entry wrapper to id