Update routes helper.