updating sample code section and re-doing front page links