update online indicator