Update dictionary structure