change graph and refresh rate