Update to Collision detection