added event client and fixed updateAttributes visibility