update collision, update key down control