updated resources & bar chart js