implemented feature to modify constraints