update for reed sensor