fix for issue #25 when updating a property