update db field