update plotting details with facet_grid and add dplyr code