split functions to separate facet reset and datatabe reload