Updated db config to use postgres