update rails version and app config