update registry plugin