updates to dictionary