Add history in web mode