update to main page sample