Updates RandomWordGenerator class