Updating case status (Legacy)