Update cached task manager in push, pop and merge operations.