Updates postgres/postgis states to refer to specific versions