upgrade pg docs