Update Value In Array Of Objects In Python