mysql structure and data files updated again (random numbers for available copies, etc), resource return and remove hold working