allow attributes in update
Merge branch 'master' into 4.1