support local registry repos and update fix
0.2.1