modify obstacle