call update on the right object