updates links to corresponding sample code