update dict instead of overwriting