update with different parameters