update code to delete item location by category