update home model and delete product model