changes RAM save functionality for new implementation of RAM
