--upgrade function to add custom data for 1.2 stable version