update
update
add test polling interval
flag for dev and production server port