word completing and training
update db