Update movementScript