Update word in db fix