modify keyword dictionary