add new example for updating attribute
compile html