replace multiple values in dictionary python