updated the fw_(get|set)_db_*() functions