Update tutorials to use new attribute syntax (#13476)

See #13476