update constants
add hub support