date sliding working on updating the graph as well