Sync model via websoket ratchet php