-- HR-129 Handle upgrader function