Update collision.js