update with document's bubble event