update postgres settings