Add code to renew dictionary when full