modify postgre connection