change attribute in docs according to mdo code guide