profile  update
and malloc