Optimized update a little.
Optimized update a little.