Create a revision when updating a link

This should also fix #877 where a push notification for a link update
included the old previews