Bed Bath & Beyond cuts 500 jobs amid overhaul