fix hql for update friend method