-Fixed typo in db update