Update, delete fix (hopefully)