Update "update" function to set only field specifid in third arg.