Add fixup for relations.js. Fix routing put issue.