update sensor if almost expire
minor change