Fix updateDB method in FilterBar API.