update routes for rails4