events create/update through click, drag and resize.