more updates to the new memory management system