Updated delete to actually work