Update database settings for Postgres