Update routes to support rails 4