Fix save function to actually update database record. Add a test.
Merge pull request #1 from hlawrenz/fixupdates

Fix save function to actually update database record. Add a test.