update wall and floor sprite