fix update action for thesaurus, refactoring
moving flash div to top