Added route to patch a reference instead of updating it completely.
Merge origin/master