Home page automatically updates without refresh