update dict
update score