How To Update Variable In Python