update uniflash config
remove pointer allocation from init function