Changed UPerf to use reflection to change fields and do state transfer