update manager.py