updating configuration for postgres