Friend-edit functionality added