Separate modifying source and building database