update flotchart component
add alert component