updated defaul to use postgres