UPDATE group_settings
SET group_recepients='{"email": subquery.email, "telegram_token": "", "telegram_user_id":""}'
FROM (SELECT id, email from users) AS subquery WHERE group_settings.user_id = subquery.id;
UPDATE group_settings
SET group_recepients = jsonb_build_object('email', subquery.email, 'telegram_token', '', 'telegram_user_id', '')
FROM (SELECT id, email from users) AS subquery WHERE group_settings.user_id = subquery.id;