update registry api