Updates to R package