changed save and delete methods so that they use standard functionality and the hook civicrm_custom is called upon deletion or creation