upgraded packages and created example with subpages