Protect AH and DB from being overwritten on sql update.