Adjusted pastes for trending updates to be more database agnostic