Update source to registry

方案：#888