update to rails4.0