Fixes Update

Create new links and update old ones, with a totally sweet N+1 query.
Merge pull request #1 from cleathers/master

Fixes Update