update rails config