updating places to rails4