updated package to be compatible with the ggplot2 updates, added new examples