Update postgre compatiblity