Updates yam to version 16

Fixes #1900