front page updated code