adding the update_links method
Merge branch 'master' of https://github.com/61bproject/pj2