update db calls