update command type
add constants class