Add missing break in switch in update method