Home page update and reset code