update memory leak