--adding prints to know the progress of case update