The following UPDATE fails :-
UPDATE table_name SET col_name = varchar WHERE col_name is NULL;
The failure message is :-
ERRO
i think you missed quote for string
UPDATE table_name SET col_name = 'varchar' WHERE col_name is NULL;