updates to stock control