update with ram improvement