Adding hash of friendkeys to preference database