updates code comments