change db config to postrgres