Added wall sensor updating.