updated FFS database functions