"modify" command, part 2/2

Fixes #7, #34