SPNPTL-78 : Changed delete to a delete function instead of update to null

https://jira.doit.wisc.edu/jira/browse/SPNPTL-78