chapter2
update attr, ignore file