Update UI after "cut" event
Now "input" event doesn't fire in this case...
Optimize: set attributes only if values was changed