Added ability to write to database array in the livestock collection