update memory monitor