fixing on updating problem on when not all fields are provided