fixed updating friend state