update regflashclass