And changed uid to friendUid in updatereceived.