`add` metric graphics
`update` test graph lib, not exactly works for date type