emit socket event when pv is updated.