change dict key and value