updated graphs in frontend