update contact detector.
Merge branch 'dev'