update the package for cran check and submission