Update morph defining 'type' and 'medium'

See #512

* update tests