replace list by map for department cache