python update dictionary with default value