use registry interface.
update deps.