updated homepage code.