Update deprecated and irrelevant code comments