Feature/apt key net update2

Rewrite "apt-key net-udpate" and improve the test.