update words data