(model): support inline goal definition
(jpa): update property if exists