update rails configs