Update State Bug