Applying new changes of registry api