home page update and detail page create