updated R package