Add edit functionality

Fixes #64.