update editor and delete