Update a model's parent when moving it