update dygraphs