replace database with scruml