Updates the most recent entry on the history stack to have the specified data, title, and, if provided, URL.