changes the content of the p tag