Update with attribute selector