Update Html5mediator.php