updating top for testing collision