update home and admin setting