change codes related to single page