Fix Attribute error when doing an update

This was previously failing with AttributeError: 'ResourceEngine' object has no attribute 'XXX'
Merge pull request #20 from mcordes/patch-1

Fix Attribute error when doing an update