update dbfactory user functions