dbprefix}river SET action_type='friend' WHERE view='river/relationship/friend/create' AND action_type='create'"; update_data($query);