update colliosion and grounded