Sorry to say James but not everything is copy and paste and not every possible scenario is part of the documentation or API examples.
There are Kentico Partners (myself included) who do this for a living and could be hired to update the code. Another option is if you have specific areas which are erroring out in your code you could post those along with your current version and ask what could be updated.