Update moveToTarget.js