update apache.xml
use setEnabledAndVisible
use command
use setEnabledAndVisible