minor fix in modify method of provisioning
revert some changes