updating code as page is not showing up on live server