Updated the module-delete

- using the parameter function to avoid conflicts
- safe from database injection