Declarative DSL for updating HashMap