this syntax is probably misleading (since `=` returns `Unit` in normal Scala code); better `updated`?