added attributeChanged case
Merge pull request #1 from ottonascarella/master

added attributeChanged case