comments #39 - update fix

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Merge branch 'invoice' into develop
closes #39 - update now works for all objects

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
Merge branch 'updatefix' into develop