Delete not working, update conditional