Future<void> updateAccount(Map acc, {bool isExternal: false}) async { if (isExternal) { updateContact(acc); } else { _updateKeyPair(acc); } }