[Ran] Add some configs and upgrade the rails