Adding and Modifing database file