In this task, you need to replace a letter in the sentence with another given letter.
Sentence: 'a wedding cake with purple ribbon and flower designs on it'. Replace the letter 'e' with 'd' in the sentence.