updating mdm to use postgres_ext