change use of schema to system in upgrade framework