replace old registration