how to update an object or bail if it has been deleted in django,thing.save()