fixing update argument