rename uploop to motion_detector