update configurations for rails4