updated manager history function