add func to change record values