update rails setting