Fix keywordUpdate generation bug