update machine memory config