Create and update records in the livestock collection