Update code to display correct message