updated project to rails4