Update Info Function In Python Programming