update the db access methods.