Update map for better collision detection