updated model to the delete