If new directory is created, the resource is updated.