updated apache files and upgraded flot library