update plot function in boot_composites.R