Update configs after rails upgrade
Fix deprecation warnings