Update movingObject.js