replace key. with value.