added check if shadow build to lib update.