update memory params