changed notification added type in socket message