update home page ui code