Allow updating nested fields

Closes #214