update function feilds