finalize upgrade prefix