update attributes and yaml example