Update The Dictionary In Python