MARI-69 fixed reg id update with null issue