in reply to updating array with matching value of hash
I cannot explain why your database would be hanging up after some arbitrary number of inserts.