Fix OOM update function! was not updating the correct value.

now OK