fixing the update of keychain, 100% coverage now