Works better if you save the object after updating it.