Update main.php

AJAX-application and this? Why?