added break to update case... stupid bug.