added sample files and logic to update the upgrade packages