modify homepage code