changed attributes handler