added update event and drag&drop event