Fixes #14
keep track of existing id to prevent new objects being created on subsequent saves
Merge pull request #16 from AnnaGerber/master

Fixes #14