python param update