Renamed pre persist and pre update functions