Update configuration based on latest rails version.