Changes to case update thread.
Changes to case update thread.