incorporate update-registry into fig