modifyConstruct function

modify a construct