Upating the status on the webpage