update graph automatically, set data unit, data interval and update interval via session variables