Update flot

Closes #398