Update motion_trigger.py