How To Use Update Method In Python