* add delete and set region blocks function.