Small fixes

1) Updated LEMON_URI
2) Fixed lexicon writing by adding flushing