edited event callback