Use a single onUpdate