add version to pg