update database file with settings for Postgres