add unique constraint and modify/remove order line