update wall bounce.