Change pg key