Update cdot snippet