Rename 'deleted' to 'enable'
Update SQL
Fixes template