Update postgres database settings