update url and title even on ajax redirects