fix: add formatting comments and improve readability in update_schedule function of temporal_manager.py