Update repo icon and inprove delete logic