update home and page