small memory updates