removed chain_id from chainstores, add location_id to workorders, connected location and chainstore to workorder index.html