Add special update function for keyword generation
Currently, updating keywords sometimes results in an error or timeout. To solve this particular problem and improve the general maintainability of updating keywords, we should implement a special update function.