reenabled dynamic graph update
makes things a bit slow in javascript