Update the groups when the change in data

Fixes #27

Dealing with gruop delete as addition is being taken care of and I don't
belive theres anything for updating group.

I'm not sure this is actually working correctly, there may be something
wrong with the tests verifying.