Delete and update routines.