move the intersection method to update
so that everyone can see it
Merge pull request #7 from wasawi/master

move the intersection method to update