update root directory to home page