add functon update to DbDrovider