Modifying db file