update the function of the Database
update home UI