list and hash map update