updated a, deleted b