fix #3, #4: support for metadata edits