Modified config for odm and orm configuration