update argument passing in python