update home and fix bugs