modify logical command