use malloc
update conf