All updates are made before collision detection