updating remains after deleting