model updated - now delete flag used