updating the memory when loading is not working.. :(