add dev selector
fix graph refresh