fixed postgres encoding type
updated to latest version