update collision detection