Updated R package