fixes #2, host key updating