update resistance param to unsigned long