added upgrade script used in package example