Add where clause to save and modify.

Remove the revision column. This is no longer needed now that you
can be more granular about update conditions.

Closes #7