Update A Dictionary In Python