UPDATE pg_attribute
SET atttypmod = (your new size) + 4
WHERE attrelid = '(table name)'::regclass
AND attname = '(column name)';
No worry about the number 4. Exist some reasons for it, only use and you will be fine.
Solutions for developers
UPDATE pg_attribute
SET atttypmod = (your new size) + 4
WHERE attrelid = '(table name)'::regclass
AND attname = '(column name)';
No worry about the number 4. Exist some reasons for it, only use and you will be fine.