updated movement detector