translate and try to update pg but failed