change to pg and update config to production