added refresh function to charts
Merge branch 'refs/heads/upstream-master'