Fixed transactional db changes.
Updated db
Added static functions for valid values